//  Created by <Omar MALAGOUEN>

//  Copyright 2011 All rights reserved.
//

/*
 * Various utilities for command line tools
 * Copyright (c) 2000-2010 Omar Malagouen
 *
 * This file is part of Kakola.
 *
 * Kakola is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * Kakola is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with Kakola; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 */

#include "common.h"



QString getVersion()
{
    QString res = VERSION;
    return res;

    /*
    QString VERSION;
    QFile *VERSION_FILE = new QFile("VERSION");
    VERSION_FILE->open(QIODevice::ReadOnly | QIODevice::Text);
    QTextStream flux(VERSION_FILE);
    flux >> VERSION;
    VERSION_FILE->close();

    return VERSION;

*/
}


QString getProfileDir()
{
    QString profileDir = "/.kakola/profiles_V." + getVersion() + "/";
    return profileDir;
}

